package com.kaoker.system.dao;

import java.util.Date;
import java.util.List;

import com.kaoker.system.entity.ExamPaper;
import com.kaoker.system.entity.Subject;

/**
 * 试卷DAO.
 * 
 * @author bladestone
 *
 */
public interface IExamPaperDao {
    public void addPaper(ExamPaper paper);
    public void updatePaper(ExamPaper paper);
    
    public List<ExamPaper> getPapersBySubject(Subject subject);
    public List<ExamPaper> getPapersBySubject(Long id);
    public List<ExamPaper> getPapersBySubject(String subjectName);
    public List<ExamPaper> getPapersBySubject(String subject, Date startDate, Date endDate);
    
    public void deletePaper(ExamPaper paper);
}
